import { get } from "../utils/request";
//获取商品列表
export const reqProductsAPI = (data) => get("/api/v1/products", data);

//获取商品详情
// export const reqDetailAPI = (pid) => get("/api/v1/products/" + pid);

// 获取商品信息
export const reqDetailAPI = (id) => get("/api/v1/products/" + id);
